﻿// =================================================================== 
// 项目说明,功能实体类,用CodeSmith自动生成。
// =================================================================== 
// 文件名: ComplaintsTypeEntity.cs
// 修改时间：2020-9-8 10:40:00
// 修改人: lixiong
// =================================================================== 
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using JX.Infrastructure.Attribute;
using JX.Infrastructure.Common;

namespace JX.Core.Entity
{
	/// <summary>
	/// 数据库表：ComplaintsType 的实体类.
	/// </summary>
	[Table("ComplaintsType")]
	public partial class ComplaintsTypeEntity
	{
		#region Properties
		private int? _cid = 0;
		/// <summary>
		/// 类别ID(主键)
		/// </summary>
		[Column("CID",TypeName="int")]
		[Key]
		public int? CID
		{
			get {return _cid;}
			set {_cid = value;}
		}
		
		private int? _cDType = 0;
		/// <summary>
		/// 属于那一类 投诉/举报
		/// </summary>
		[Column("CDType",TypeName="int")]
		public int? CDType
		{
			get {return _cDType;}
			set {_cDType = value;}
		}
		
		private System.String _cName = string.Empty;
		/// <summary>
		/// 类型名称
		/// </summary>
		[Column("CName",TypeName="nvarchar(50)")]
		[DisplayFormat(ConvertEmptyStringToNull = false)]
		public System.String CName
		{
			get {return _cName;}
			set {_cName = value;}
		}
		
		#endregion
	}
}
